package org.saxonextensions.eml.dispatcher;

import java.io.Serializable;
import java.io.InputStream;

/**
 * EML Dispatcher interface.
 *
 * @author Ivan Latysh
 * @since 16-Jan-2009 11:36:20 AM
 */
public interface EMLDispatcher extends Serializable {

  /**
   * Dispatch given message
   *
   * @param message serialized eml message
   */
  public void dispatch(InputStream message) throws Exception;

}